
const { ccclass, property } = cc._decorator;
import { BaseComponent } from "./BaseComponent";

@ccclass
/**主场景UI根节点 */
export abstract class UIRoot extends BaseComponent {

    /**视图层根节点 */
    @property(cc.Node)
    viewRoot: cc.Node = null

    /**显示在视图层上面的提示层 */
    @property(cc.Node)
    tipRoot: cc.Node = null

    /**强制屏蔽点击事件的节点*/
    @property(cc.Node)
    blockNode: cc.Node = null

    /**转圈等待的屏蔽点击节点*/
    @property(cc.Node)
    waittingBlockNode: cc.Node = null

    /**黑背景预制 */
    @property(cc.Prefab)
    blackBgPrefab: cc.Prefab = null
}

